package com.google.code.irouter.portal.client.dashboard.main.center.managers.library.browser.guide.command;

import com.google.code.irouter.portal.client.AppConstants;
import com.google.code.irouter.portal.client.dashboard.main.center.managers.library.browser.guide.command.switcher.Mode;
import com.google.gwt.core.client.GWT;
import com.gwtext.client.widgets.ToolbarMenuButton;

public final class Switcher extends ToolbarMenuButton {
	
	private static final AppConstants CONSTANTS = GWT.create(AppConstants.class);

	public Switcher() {
		super();
		this.setId(Switcher.class.getName());
		
		this.setText(CONSTANTS.com_google_code_irouter_portal_client_dashboard_main_center_managers_library_browser_switcher_mode_guide());
		this.setMenu(new Mode());
	}
}
